package com.itheima.entity;

import java.util.Date;

public class Order {
    private int id;
    private int user_id;
    private String goods;
    private Date create_time;
    private String note;

    public Order() {
    }

    public Order(int id, int user_id, String goods, Date create_time, String note) {
        this.id = id;
        this.user_id = user_id;
        this.goods = goods;
        this.create_time = create_time;
        this.note = note;
    }

    public int getId() {

        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getGoods() {
        return goods;
    }

    public void setGoods(String goods) {
        this.goods = goods;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", user_id=" + user_id +
                ", goods='" + goods + '\'' +
                ", create_time=" + create_time +
                ", note='" + note + '\'' +
                '}';
    }
}
